package com.ynny.bean;


import org.springframework.stereotype.Component;

@Component("scores")
public class Scores {
    private String number;
    private double Chinese;
    private double math;
    private double English;

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public double getChinese() {
        return Chinese;
    }

    public void setChinese(double chinese) {
        Chinese = chinese;
    }

    public double getMath() {
        return math;
    }

    public void setMath(double math) {
        this.math = math;
    }

    public double getEnglish() {
        return English;
    }

    public void setEnglish(double english) {
        English = english;
    }

    @Override
    public String toString() {
        return "Scores{" +
                "number='" + number + '\'' +
                ", Chinese=" + Chinese +
                ", math=" + math +
                ", English=" + English +
                '}';
    }
}
